.PHONY:all
all:tcp_server tcp_client

tcp_server:Main.cpp
	g++ -o $@ $^ -std=c++14 -lpthread
tcp_client:TcpClient.cpp
	g++ -o $@ $^ -std=c++14

.PHONY:clean
clean:
	rm -f tcp_server tcp_client